#ifndef __FX_SPI_H__
#define __FX_SPI_H__

#include <stdint.h>

int fx_spi_init(void);

int fx_spi_tr(uint32_t *write_data, uint32_t *read_data);

int fx_spi_tr_byte(uint8_t *write_data, uint8_t *read_data, uint16_t len);

#endif
